﻿
using System ;

using MskEdit.Sdk ;


namespace MskEdit.Msk.Representation
{
    public static class FieldSubrange
    {
        internal static SdkSubrange FieldName       = new SdkSubrange( 1-1, 10 ) ;
        internal static SdkSubrange Len             = new SdkSubrange( 12-1,  3 ) ;
        internal static SdkSubrange Yk              = new SdkSubrange( 16-1,  2 ) ;
        internal static SdkSubrange Xk              = new SdkSubrange( 19-1,  2 ) ;
        internal static SdkSubrange Type            = new SdkSubrange( 22-1,  1 ) ;
        internal static SdkSubrange Decimals        = new SdkSubrange( 24-1,  1 ) ;
        internal static SdkSubrange PageCode        = new SdkSubrange( 26-1,  3 ) ;
        internal static SdkSubrange Caption         = new SdkSubrange( 30-1, 40 ) ;
        internal static SdkSubrange FunCode         = new SdkSubrange( 71-1,  5 ) ;
        internal static SdkSubrange AcadY           = new SdkSubrange( 77-1,  7 ) ;
        internal static SdkSubrange AcadX           = new SdkSubrange( 85-1,  7 ) ;
        internal static SdkSubrange AcadHeight      = new SdkSubrange( 93-1,  5 ) ; // Not used
        internal static SdkSubrange AcadStyle       = new SdkSubrange( 99-1, 12 ) ; // Not used
        internal static SdkSubrange AcadAngle       = new SdkSubrange( 112-1,  7 ) ; // Not used
        internal static SdkSubrange AcadLayer       = new SdkSubrange( 120-1, 12 ) ; // Not used
        internal static SdkSubrange AcadAlignment   = new SdkSubrange( 133-1,  1 ) ; // Not used
        internal static SdkSubrange HelpText        = new SdkSubrange( 135-1, 30 ) ;
        internal static SdkSubrange PresetValue     = new SdkSubrange( 166-1, 30 ) ;
        internal static SdkSubrange AcadY2          = new SdkSubrange( 197-1,  7 ) ;
        internal static SdkSubrange AcadX2          = new SdkSubrange( 205-1,  7 ) ;
        internal static SdkSubrange AcadBlock       = new SdkSubrange( 213-1,  8 ) ;
        internal static SdkSubrange AcadTag         = new SdkSubrange( 222-1, 15 ) ;
        internal static SdkSubrange Language        = new SdkSubrange( 238-1,  2 ) ;
    }
}
